package com.hclc.impl.aliyun;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
* @ClassName: ALiYunSmsConfig
* @Description: TODO(aliyun短信)
* @author lixin
* @date 2019年8月27日 下午4:01:19
* @version V1.0
*/
@ConfigurationProperties(prefix = "aliyun.sms")
public class AliSmsConfig {
	 public static final String ALIYUN_PREFIX = "aliyun.sms";

	/** 阿里accessKeyId **/
	@Value("${aliyun.sms.accessKeyId}")
	public String accessKeyId;
	/** 阿里accessSecret  **/
	@Value("${aliyun.sms.accessKeySecret}")
	public String accessKeySecret;
	/** 阿里短信域名  **/
	@Value("${aliyun.sms.domain}")
	public String domain;
	/** 阿里短信版本  **/
	@Value("${aliyun.sms.version}")
	public String version;
	/** 系统规定参数 **/
	@Value("${aliyun.sms.action}")
	public String action;
	/** 签名 **/
	@Value("${aliyun.sms.signName}")
	public String signName;

	// 编码格式。发送编码格式统一用UTF-8
	public static String ENCODING = "UTF-8";

	public String getAccessKeyId() {
		return accessKeyId;
	}

	public void setAccessKeyId(String accessKeyId) {
		this.accessKeyId = accessKeyId;
	}

	public String getAccessKeySecret() {
		return accessKeySecret;
	}

	public void setAccessKeySecret(String accessKeySecret) {
		this.accessKeySecret = accessKeySecret;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getSignName() {
		return signName;
	}

	public void setSignName(String signName) {
		this.signName = signName;
	}

}
